﻿
@{
    ViewBag.Title = "Captcha";
}



<div>
    <h1>Captcha in ASP.NET MVC</h1>
    @using (Html.BeginForm("Captcha", "Home"))
    {
        <p><img src="/home/ShowCaptchaImage" /></p>
        <p>Please enter the string as shown above:</p>
        <p>@Html.TextBox("CaptchaText")</p>
        <p><input type="submit" value="Submit" /></p>
    }
    <strong>@ViewBag.Message</strong>
</div>